package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.CourseTeacherDTO;
import com.xuecheng.content.model.po.CourseTeacher;

import java.util.List;

public interface CourseTeacherService {

    /**
     * 根据ID查询师资列表
     * @param courseId
     * @return
     */
    List<CourseTeacher> getIdByCourseTeacherList(Long courseId);

    /**
     * 修改,增加课程老师
     * @param courseTeacherDTO
     * @return
     */
    CourseTeacher saveAndUpdate(CourseTeacherDTO courseTeacherDTO);

    /**
     * 删除课程老师
     * @param courseId
     * @param id
     */
    void deleteCourseTeacher(Long courseId, Long id);
}
